table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.form-base {
  margin-top: 20px;

  .lable {
    padding-right: 10px;
  }
  .from-base-item {
    width: 50%;
    display: inline-block;
    .el-button {
      border-radius: 4px;
    }
    .upload-demo {
      display: inline-block;
      .el-upload-list {
        display: none;
      }
    }
    a.download {
      padding: 0 20px;
    }
  }
}

.test-result {
  margin-top: 20px;

  .text-area {
    margin: 10px 0;
  }
}

.request-table {
  h5 {
    padding: 10px 0;
  }

  .del {
    cursor: pointer;
    color: #f56c6c;

    &:hover {
      color: rgb(247, 137, 137);
    }
  }
}

// 输入表单 一行3列
.form-box {
  overflow: hidden;
  width: 1000px;
  margin: 20px auto 20px auto;

  li {
    width: 50%;
    display: inline-block;

    .lable {
      padding-right: 10px;
    }
    .el-select {
      width: 100%;
    }
    .el-form-item {
      padding: 0 20px;
      padding-right: 30px;

      .el-form-item__label {
        width: 110px;
      }
    }
    .org-name .el-button > span {
      color: #2e69eb;
    }
  }
  .el-input-group__append,
  .el-input-group__prepend {
    background-color: var(--el-bg-color);
    color: var(--el-color-info);
    vertical-align: middle;
    display: table-cell;
    position: relative;
    border: 1px solid #dcdfe6;
    border-radius: var(--el-input-border-radius);
    padding: 0 20px;
    width: 1px;
    white-space: nowrap;
  }
  .el-input-group__append {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
.edit-box {
  .append-button {
    .el-input-group__append {
      background-color: #2e69eb;
      color: white;
      border: none;
    }
  }
  .el-input-group__append,
  .el-input-group__prepend {
    background-color: var(--el-bg-color);
    color: var(--el-color-info);
    vertical-align: middle;
    display: table-cell;
    position: relative;
    border: 1px solid #dcdfe6;
    border-radius: var(--el-input-border-radius);
    padding: 0 20px;
    width: 1px;
    white-space: nowrap;
  }
  .el-input-group__append {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

// 自定义表格样式
.pure-table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid #f0f0f0;
  width: 100%;
}

.pure-table .del {
  cursor: pointer;
  color: #2e69eb;
}

.pure-table caption {
  color: #000;
  font: italic 85%/1 arial, sans-serif;
  padding: 1em 0;
  text-align: center;
}

.pure-table td,
.pure-table th {
  border-bottom: 1px solid #f0f0f0;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: 1em 1em;
  span.required {
    color: red;
    padding: 0 5px;
  }
}

.pure-table thead {
  background-color: #eaf1f7;
  color: #333;
  text-align: left;
  vertical-align: bottom;
  font-size: 16px;
}

.pure-table td {
  background-color: transparent;
}

.henader-select {
  width: 160px;
}

// 右边内容
.right-con {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  width: 100%;

  .right-header {
    padding: 10px 0;
    overflow: hidden;

    h3 {
      color: #3c475d;
      font-size: 18px;
      font-weight: 700;
      float: left;
      padding: 0;
      margin: 0;
    }

    .action-box {
      float: right;
    }
  }
}

.con-header {
  flex: 1;
  text-align: left;
  h3 {
    color: #3c475d;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: -3px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background: #fff;
    display: inline-block;
    padding: 0 20px;
    height: 45px;
    line-height: 45px;
    width: 100%;
    border-bottom: solid 1px #eee;
  }

  // .el-icon {
  //   vertical-align: -3px;
  //   margin-right: 10px;
  // }

  span.sub-tit {
    color: #2e69eb;
  }

  span.select-name {
    padding-left: 20px;
    padding-right: 10px;

    &:first-child {
      padding-left: 0;
    }
  }
  .search-btn {
    margin-left: 10px;
  }
  .all-search {
    width: 200px;
    float: right;

    .el-input--mini .el-input__inner {
      height: 30px;
    }

    .el-input-group__append {
      padding: 0 10px;
      height: 30px;
    }
  }
}
.code-box {
  font-size: 14px;
  padding: 15px 12px;
  margin: 0;
  word-break: normal;
  display: block;
  overflow-x: auto;
  color: #333;
  background: #f8f8f8;
  line-height: 1.25;
  max-height: 300px;
  overflow: auto;
}
.write.el-button {
  margin-left: 20px;
  border-radius: 3px;
}
// 分割标题颜色
h4.divider {
  margin-top: 15px;
  margin-bottom: 10px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  padding-left: 15px;
  position: relative;
  line-height: 36px;
  &:before {
    content: " ";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 4px;
    height: 16px;
    background: #2e69eb;
  }
}

// 分割线
.divider-line {
  width: 1000px;
  margin: 10px auto;
  height: 1px;
  background-color: #dcdfe6;
}

.json-format {
  .string {
    color: green;
  }
  .number {
    color: darkorange;
  }
  .boolean {
    color: blue;
  }
  .null {
    color: magenta;
  }
  .key {
    color: red;
  }
}
span.red {
  color: red;
  &.green {
    color: green;
  }
}

.introductions {
  margin-left: 10px;
  font-size: 14px;
  font-weight: normal;
  a {
    color: red;
    &:hover {
      color: #660000;
    }
  }
}

.auth-module {
  display: flex;
  .auth-id {
    flex: 3;
  }
  .auth-params {
    flex: 1;
    margin-left: 10px;
    &.el-button {
      border-radius: 4px;
    }
  }
}

.v-align-top {
  vertical-align: text-top;
}

// 所属应用按钮
.affiliation-app {
  .new-btn {
    width: 80px;
    border-radius: 4px;
  }
  .el-form-item__content {
    display: flex;

    .el-select,
    .el-input {
      flex: auto;
      width: auto;
      margin-right: 10px;
    }
  }
}
